package com.xmu.makerspace.dao;

import com.xmu.makerspace.domain.FormalTeam;
import com.xmu.makerspace.model.seat.SimpleMemberOfTeam;
import org.springframework.data.repository.CrudRepository;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by status200 on 2017/9/1.
 */
public interface FormalTeamRepository extends CrudRepository<FormalTeam,Integer> {

    List<FormalTeam> findByAuditStep(int auditStep);

    ArrayList<FormalTeam> findAll();
    FormalTeam findAllByTeamId(int teamId);
}
